package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.generator.entity.FireForecastDataEntity;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Map;

/**
 * 
 *
 * @author rose
 * @email 1942951600@qq.com
 * @date 2021-08-06 21:32:44
 */
public interface FireForecastDataService extends IService<FireForecastDataEntity> {

    PageUtils queryPage(Map<String, Object> params);


    /**
     * 传入csv的文件路径，进行解析成java对象，当满足条件后存入数据库；
     * @param file
     * @throws FileNotFoundException
     */
    void parseCSV(String file)  throws FileNotFoundException;
}

